<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <div v-for="addr in addrs">
        {{addr}}
    </div>
    <div v-for="(addr,i) in addrs">
       {{i}}-- {{addr}}
    </div>
</div>


<script src="js/vue.js"></script>
<script !src="">
    new Vue({
        el:"#app",
        data () {
            return {
                username:"",
                url:"https://www.baidu.com",
                count:3,
                addrs:["北京","上海"]
            }
        },
        methods:{
            show(){
                alert("我被点了。。。")
            }
        },
    })
</script>
</body>
</html>